//
//  LBSegmentControl.h
//

#import <UIKit/UIKit.h>

@interface LBSegmentControl : UIView

@property(nonatomic, assign) NSUInteger selectedSegmentIndex;

@property(nonatomic, strong) UIColor * selectedColor;

@property(nonatomic, strong) UIColor * normalColor;

@property(nonatomic, assign) NSInteger normalFont;

@property(nonatomic, assign) NSInteger selectFont;

@property(nonatomic, strong) NSArray * items;

@property(nonatomic, assign) NSInteger showCount;

@property(nonatomic, strong) UIColor *trunkTintColor;

@property(nonatomic, assign) CGFloat trunkCornerRadius;

@property(nonatomic, assign) UIEdgeInsets contentInsets;

@property(nonatomic, assign) BOOL showBottomLine;

@property(nonatomic, assign) BOOL showTrunk;

@property(nonatomic, assign) CGFloat contentWidth;

@property (nonatomic, assign) CGFloat lineWidth;

- (void)addTarget:(id)target action:(SEL)action;

- (void) contentOffset;

@end
